#!/bin/bash
SERVER=$1
PROJECT=$2
SOURCENAME=$3
TARGETNAME=$4
MESSAGE=$5
echo server:$SERVER project:$PROJECT
echo source folder:$SOURCEFOLDER  name:$SOURCENAME
echo target folder:$TARGETFOLDER  name:$TARGETNAME
svn cp -m $MESSAGE svn://$SERVER/$PROJECT/$SOURCENAME svn://$SERVER/$PROJECT/$TARGETNAME --username tiger --password 'svn555666'
if [ $? -eq 0 ];
 then
echo right
exit 0;
else
echo error
exit 1;
fi
